package com.gtt.pattern.behavior.command;

import java.lang.reflect.Method;

public class Receiver {

	public void action() {
		try {
			Method method = this.getClass().getDeclaredMethod("action");

			System.out.println("Receriver." + method.getName());
		} catch (SecurityException e) {
			e.printStackTrace();
		} catch (NoSuchMethodException e) {
			e.printStackTrace();
		}
	}
}
